package com.walleipt.corgi.api;

import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.beanutils.converters.DateConverter;

import com.walleipt.corgi.api.asynctask.message.MessageBus;
import com.walleipt.corgi.api.asynctask.message.MessageNotify;

import java.util.Date;

public class Application {

    public static void started(){
        MessageBus.instance().register(new MessageNotify());
        DateConverter converter = new DateConverter();
        converter.setPattern("yyyy-MM-dd HH:mm:ss");
        ConvertUtils.register(converter, Date.class);
    }
    
    public static void end()
    {
    	
    }
}
